package com.danco.training.zaneuskaya.communication;

import java.io.Serializable;
import java.util.Arrays;

public class Message implements Serializable{
	
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 6808680801233009522L;
	private String str;
	private Object[] params;
	
	public Message(String str, Object[] params) {
		
		this.str = str;
		this.params = params;
	}

	public Message() {
		str = null;
		params = null;
	}

	public String getStr() {
		return str;
	}

	public void setStr(String str) {
		this.str = str;
	}

	public Object[] getParams() {
		return params;
	}

	public void setParams(Object[] params) {
		this.params = params;
	}

	@Override
	public String toString() {
		return "Message [str=" + str + ", params=" + Arrays.toString(params)
				+ "]";
	}
	
	
	

}
